package cn.iocoder.yudao.module.wine.controller.admin.teamtype.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 团长缴费等级新增/修改 Request VO")
@Data
public class TeamTypeSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "2252")
    private Long id;

    @Schema(description = "缴费名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "缴费名称不能为空")
    private String name;

    @Schema(description = "缴费价格", requiredMode = Schema.RequiredMode.REQUIRED, example = "9417")
    @NotNull(message = "缴费价格不能为空")
    private BigDecimal price;

    @Schema(description = "缴费原价", requiredMode = Schema.RequiredMode.REQUIRED, example = "9053")
    @NotNull(message = "缴费原价不能为空")
    private BigDecimal originalPrice;

    @Schema(description = "类型图标", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "类型图标不能为空")
    private String icon;

    @Schema(description = "会员权益")
    private String equities;

    @Schema(description = "佣金比例0-100", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "佣金比例0-100不能为空")
    private BigDecimal commissionRate;

    @Schema(description = "期限类型  1月 2季 3半年 4年", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "期限类型  1月 2季 3半年 4年不能为空")
    private Integer termType;

}